package com.itheima.provider.service;

import com.itheima.provider.domain.Goods;
import com.itheima.provider.mapper.GoodsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ly
 * @Date: 2021/08/17/13:22
 * @Description:
 */
@Service
public class GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    public Goods getOne(int id){
      return   goodsMapper.getOne(id);
    }
}
